﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DangNhap.aspx.cs" Inherits="DangNhap" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>PHẦN MỀM QUẢN LÝ KHÁCH SẠN KIM LÂN</title>
      <%--<script language="javascript">
          if (this.name != 'fullscreen') { //kiem tra neu chua full man hinh thi mo cua so moi voi dia chi hien tai va full man hinh
              window.open(location.href, 'fullscreen', 'scrollbars=yes,toolbar = no, location = no, top=0, left=0, height=700, width=1024, resizable= yes'); //sau do tat cua so cu
              window.open('', '_self', '');
              window.close();
          }
  </script>--%>
    <style type="text/css">
        .style1
        {
            width: 130px;
            text-align: center;
        }
         .le
        {
        	width: 25%;
           
        }
        .style2
        {
            width: 320px;
            vertical-align : middle;
           
        }
        .style3
        {
            width: 100px;
        }  

    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table style="width:100%;">
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
          <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="le">
                    &nbsp;</td>
                <td style="background-image: url('images/modern_login_form2.jpg')">
                    <table style="width:700px; height : 499px; vertical-align: middle;" 
                        cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style1">
                                &nbsp;</td>
                            <td class="style2">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style1">
                                &nbsp;</td>
                            <td class="style2">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style1">
                                &nbsp;</td>
                            <td class="style2">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style1">
                                &nbsp;</td>
                            <td class="style2">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style1">
                                &nbsp;</td>
                            <td class="style2">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style3">
                                </td>
                            <td class="style1">
                                <asp:Label ID="Label1" runat="server" Text="Tài khoản" Font-Bold="False" 
                                    Font-Names="Tahoma" Font-Size="Large" ForeColor="#FFFFCC"></asp:Label>
                            </td>
                            <td >
                                <asp:TextBox ID="txtUserName" runat="server" Height="20px" Width="320px"></asp:TextBox>
                            </td>
                            <td >
                                </td>
                        </tr>
                        <tr>
                            <td class="style3">
                                </td>
                            <td class="style1">
                                <asp:Label ID="Label2" runat="server" Font-Names="Tahoma" Font-Size="Large" 
                                    ForeColor="#FFFFCC" Text="Mật khẩu"></asp:Label>
                            </td>
                            <td >
                                <asp:TextBox ID="txtPassWord" runat="server" Height="20px" Width="320px" 
                                    TextMode="Password"></asp:TextBox>
                            </td>
                            <td >
                                </td>
                        </tr>
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style1">
                                &nbsp;</td>
                            <td class="style2" align = "right" >
                                <asp:Label ID="Label3" runat="server" Font-Names="Tahoma" Font-Size="Small" ForeColor="#FFFFCC"
                                    Text="Ghi nhớ đăng nhập"></asp:Label>
                                <asp:CheckBox ID="CheckBoxRemember" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style3">
                                </td>
                            <td class="style1">
                                </td>
                            <td align="right" class="style2" >
                               
                                <asp:Button ID="btDangNhap" runat="server" Height="25px" Text="Đăng nhập" 
                                    Width="100px" onclick="btDangNhap_Click" />
                                &nbsp;&nbsp;
                                <asp:Button ID="btHuy" runat="server" Height="25px" Text="Hủy" 
                                    Width="100px" onclick="btHuy_Click"  />
                               
                            </td>
                            <td >
                                </td>
                        </tr>
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style1">
                                &nbsp;</td>
                            <td class="style2">
                       <asp:Label ID="lblError" runat="server" Text="Tài khoản đăng nhập không đúng" 
                                    Font-Bold="False" ForeColor="White" Font-Size="Medium"></asp:Label>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style1">
                                &nbsp;</td>
                            <td class="style2" >
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style1">
                                &nbsp;</td>
                            <td class="style2">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style1">
                                &nbsp;</td>
                            <td class="style2">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        </table>
                </td>
                <td class="le">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
